package com.zzt.entity;

import lombok.ToString;

@ToString
public class Shops {
    private Integer oid;

    private String gname;

    private Integer num;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Shops(String gname, Integer num) {
        this.gname = gname;
        this.num = num;
    }

    public Shops(Integer oid, String gname, Integer num) {
        this.oid = oid;
        this.gname = gname;
        this.num = num;
    }

    public Shops() {
        this.oid = oid;
        this.gname = gname;
        this.num = num;
    }
}